public class Student {
    public String name;
    public int age;
    public float height;
    public float weight;

    public void euql(String name, int age, float height, float weight) {
        this.age = age;
        this.height = height;
        this.weight = weight;
        this.name = name;
    }

    public void print() {
        System.out.println(this.name + " " + this.age + " " + this.height + " " + this.weight + " ");
    }


        public static void main(String[] args) {
            Student s=new Student();
            s.name ="小米";
            s.age=18;
            s.height=165;
            s.weight=55;
            s.print();
    }
}
